class Point {
   public var x:int;
   public var y:int;
   public function Point(ax:int,ay:int):void {
      x = ax;
      y = ay;
   }

}

var p1 = new Point(10,43);

print(p1.x);
print(p1.y);
